package com.miukoo.aikao.admin.service;

import com.fasterxml.jackson.core.JsonProcessingException;
import com.miukoo.aikao.core.pojos.SecurityUser;

/**
 * @Author miukoo<miukoo@126.com>
 * @Date 2020/11/20  
 * @Version 1.0
 */
public interface JwtUserRedisService extends RedisService {

    public String saveUser(SecurityUser user) throws JsonProcessingException;
    public SecurityUser getUser(String jwtId) throws JsonProcessingException;
    public void clearUser(SecurityUser user) throws JsonProcessingException;

}
